package MicroSpring.applicationContext.impl;

import MicroSpring.beanFactory.impl.DefaultListableBeanFactory;

/*
    启动类context.
 */
public class BootstrapApplicationContext extends AnnotationConfigApplicationContext{


    public void run(Class bootClass){
        beanFactory=new DefaultListableBeanFactory();
        beanFactory.setBootClass(bootClass);
        refresh();
    }
}
